package com.suning.sawp.dto.storeman;

import java.io.Serializable;
import java.util.List;

import com.suning.sawp.po.store.StaffInfo;
import com.suning.vgs.follow.remote.store.IdType;
import com.suning.vgs.follow.remote.store.StoreManBaseDto;
/**
 * 
 * 店员用户属性<br> 
 * 〈功能详细描述〉
 *
 * @author 12061818
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
public class StoreManAccount implements Serializable {

    /**
     */
    private static final long serialVersionUID = 1L;
    
    

    private List<IdType> userIds;
    
    /**
     *  员工工号
     */
    private String staffId;
    
    /**
     * 城市编码
     */
    private String cityCode;
    
    /**
     * 店员姓名
     */
    private String name;
    
    /**
     * 验单资格标示：1-有资格；0-无资格
     */
    private String verifyOrderFlag;
    
    /**
     * 手机号
     */
    private String mobile;

    // 头像类型
    private String headPicType;

    // 头像编号
    private String headPicNo;

    // 门店编码
    private String storeCode;

    // 门店名称
    private String storeName;

    // 职务名称
    private String stationName;

    // 职务代码
    private String stationCode;
    
    /**
     * 岗位编码
     */
    private String positionId;

    /**
     * 岗位名称
     */
    private String positionName;
    
    private String lastOrgId;
    
    private String lastRoleType;
    
    // 品类名称
    
    private List<Category> categories;
    
    @Deprecated
    private String userid;
    
    public StoreManAccount() {
        
    }
    
    public StoreManAccount(StoreManBaseDto baseDto, StaffInfo staffInfo,  List<Category> categories) {
        this.userIds = baseDto.getStoreManIds();
        this.staffId = baseDto.getStaffId();
        this.name = baseDto.getStoreManName();
        this.verifyOrderFlag = baseDto.getVerifyOrderFlag();
        this.headPicType = baseDto.getHeadPicType();
        this.headPicNo = baseDto.getHeadPicNo();
        // 不返回客户端需求门店编码11.30
        this.cityCode = baseDto.getCityCode();
        this.categories = categories;
        this.userid = "sn00000000";
    }
    
    public String getLastRoleType() {
        return lastRoleType;
    }

    public void setLastRoleType(String lastRoleType) {
        this.lastRoleType = lastRoleType;
    }

    public String getLastOrgId() {
        return lastOrgId;
    }

    public void setLastOrgId(String lastOrgId) {
        this.lastOrgId = lastOrgId;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public List<IdType> getUserIds() {
        return userIds;
    }

    public void setUserIds(List<IdType> userIds) {
        this.userIds = userIds;
    }

    public String getStaffId() {
        return staffId;
    }

    public void setStaffId(String staffId) {
        this.staffId = staffId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getHeadPicType() {
        return headPicType;
    }

    public void setHeadPicType(String headPicType) {
        this.headPicType = headPicType;
    }

    public String getHeadPicNo() {
        return headPicNo;
    }

    public void setHeadPicNo(String headPicNo) {
        this.headPicNo = headPicNo;
    }

    public String getStoreCode() {
        return storeCode;
    }

    public void setStoreCode(String storeCode) {
        this.storeCode = storeCode;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getStationCode() {
        return stationCode;
    }

    public void setStationCode(String stationCode) {
        this.stationCode = stationCode;
    }

    public List<Category> getCategories() {
        return categories;
    }

    public void setCategories(List<Category> categories) {
        this.categories = categories;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getVerifyOrderFlag() {
        return verifyOrderFlag;
    }

    public void setVerifyOrderFlag(String verifyOrderFlag) {
        this.verifyOrderFlag = verifyOrderFlag;
    }

    public String getPositionId() {
        return positionId;
    }

    public void setPositionId(String positionId) {
        this.positionId = positionId;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

}
